refactor: separate PYAUTOFIT_TEST_MODE into distinct PYAUTO_* env vars#86
Merged
refactor: separate PYAUTOFIT_TEST_MODE into distinct PYAUTO_* env vars#86
Conversation
Split the catch-all PYAUTOFIT_TEST_MODE into purpose-specific variables: - PYAUTO_TEST_MODE (sampler speedup, levels 0-3) - PYAUTO_SKIP_FIT_OUTPUT (pre/post-fit I/O, VRAM, result text) - PYAUTO_SKIP_VISUALIZATION (fit visualization and plotting) - PYAUTO_SKIP_CHECKS (mesh validation, position resampling, weight thresholds) Also renames: - PYAUTOARRAY_OUTPUT_MODE -> PYAUTO_OUTPUT_MODE - PYAUTO_WORKSPACE_SMALL_DATASETS -> PYAUTO_SMALL_DATASETS Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Apr 12, 2026
Merged
Open
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Split the catch-all
PYAUTOFIT_TEST_MODEinto purpose-specific environment variables under a unifiedPYAUTO_*prefix. Addsskip_fit_output(),skip_visualization(), andskip_checks()toautoconf.test_modealongside the existingtest_mode_level()/is_test_mode(). RenamesPYAUTOFIT_TEST_MODE→PYAUTO_TEST_MODE.API Changes
Three new public functions added to
autoconf.test_mode(and re-exported fromautoconf):skip_fit_output(),skip_visualization(),skip_checks(). The env varPYAUTOFIT_TEST_MODEis renamed toPYAUTO_TEST_MODE. See full details below.Test Plan
Full API Changes (for automation & release notes)
Added
autoconf.test_mode.skip_fit_output()— returns True when PYAUTO_SKIP_FIT_OUTPUT=1autoconf.test_mode.skip_visualization()— returns True when PYAUTO_SKIP_VISUALIZATION=1autoconf.test_mode.skip_checks()— returns True when PYAUTO_SKIP_CHECKS=1Changed Behaviour
test_mode_level()now readsPYAUTO_TEST_MODEinstead ofPYAUTOFIT_TEST_MODEMigration
export PYAUTOFIT_TEST_MODE=2export PYAUTO_TEST_MODE=2🤖 Generated with Claude Code